package cn.tedu.storedemo.entity;

import java.util.Date;
/*用户的操作日志记录*/
public class UserOpt {
    private Integer uid;//用户id
    private Integer pid;//商品id
    private Integer cid;//商品种类id
    private String type;//操作类型
    private Date createdTime;

    public UserOpt() {
    }

    public UserOpt(Integer uid, Integer pid, Integer cid, String type) {
        this.uid = uid;
        this.pid = pid;
        this.cid = cid;
        this.type = type;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        return "UserOpt{" +
                "uid=" + uid +
                ", pid=" + pid +
                ", cid=" + cid +
                ", type='" + type + '\'' +
                ", createdTime=" + createdTime +
                '}';
    }
}
